<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BSonDocument</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BSonDocument">
			<h1>BSonDocument</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BSonDocument()">BSonDocument</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#~BSonDocument()">~BSonDocument</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#setFormat(const BString&)">setFormat</a>(const BString& format);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#format()">format</a>() const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#load(const BString&)">load</a>(const BString& fileName);</td></tr>
				<tr><td align="right">bool </td><td><a href="#save(const BString&, const BSonNode*)">save</a>(const BString& fileName, const BSonNode* node) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#save(const BString&)">save</a>(const BString& fileName) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#read(const BString&)">read</a>(const BString& sontext);</td></tr>
				<tr><td align="right">bool </td><td><a href="#write(BString&, const BSonNode*)">write</a>(BString& sontext, const BSonNode* node) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#write(BString&)">write</a>(BString& sontext) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#read(const BStream&)">read</a>(const BStream& stream);</td></tr>
				<tr><td align="right">bool </td><td><a href="#write(BStream&, const BSonNode*)">write</a>(BStream& stream, const BSonNode* node) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#write(BStream&)">write</a>(BStream& stream) const;</td></tr>
				<tr><td align="right">void </td><td><a href="#clear()">clear</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setNode(BSonNode*)">setNode</a>(BSonNode* node);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#node()">node</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#addNode(BSonNode*)">addNode</a>(BSonNode* node);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#addNode(const BString&)">addNode</a>(const BString& name);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeNode(BSonNode*)">removeNode</a>(BSonNode* node);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeNode(const BString&)">removeNode</a>(const BString& name);</td></tr>
				<tr><td align="right">int </td><td><a href="#nodeCount()">nodeCount</a>() const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#node(int)">node</a>(int index);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#node(int)">node</a>(int index) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#node(const char*)">node</a>(const char* name);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#node(const char*)">node</a>(const char* name) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#node(const BString&)">node</a>(const BString& name);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#node(const BString&)">node</a>(const BString& name) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#create(const BString&)">create</a>(const BString& path);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#locate(const BString&)">locate</a>(const BString& path);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#locate(const BString&)">locate</a>(const BString& path) const;</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BSonDocument()">
				<h3>BSonDocument();</h3>
			</div>
			<div id="~BSonDocument()">
				<h3>~BSonDocument();</h3>
			</div>
			<div id="setFormat(const BString&)">
				<h3>bool setFormat(const BString&amp; format);</h3>
			</div>
			<div id="format()">
				<h3>const BString&amp; format() const;</h3>
			</div>
			<div id="load(const BString&)">
				<h3>BSonNode* load(const BString&amp; fileName);</h3>
			</div>
			<div id="save(const BString&, const BSonNode*)">
				<h3>bool save(const BString&amp; fileName, const BSonNode* node) const;</h3>
			</div>
			<div id="save(const BString&)">
				<h3>bool save(const BString&amp; fileName) const;</h3>
			</div>
			<div id="read(const BString&)">
				<h3>BSonNode* read(const BString&amp; sontext);</h3>
			</div>
			<div id="write(BString&, const BSonNode*)">
				<h3>bool write(BString&amp; sontext, const BSonNode* node) const;</h3>
			</div>
			<div id="write(BString&)">
				<h3>bool write(BString&amp; sontext) const;</h3>
			</div>
			<div id="read(const BStream&)">
				<h3>BSonNode* read(const BStream&amp; stream);</h3>
			</div>
			<div id="write(BStream&, const BSonNode*)">
				<h3>bool write(BStream&amp; stream, const BSonNode* node) const;</h3>
			</div>
			<div id="write(BStream&)">
				<h3>bool write(BStream&amp; stream) const;</h3>
			</div>
			<div id="clear()">
				<h3>void clear();</h3>
			</div>
			<div id="setNode(BSonNode*)">
				<h3>void setNode(BSonNode* node);</h3>
			</div>
			<div id="node()">
				<h3>BSonNode* node();</h3>
			</div>
			<div id="addNode(BSonNode*)">
				<h3>void addNode(BSonNode* node);</h3>
			</div>
			<div id="addNode(const BString&)">
				<h3>BSonNode* addNode(const BString&amp; name);</h3>
			</div>
			<div id="removeNode(BSonNode*)">
				<h3>bool removeNode(BSonNode* node);</h3>
			</div>
			<div id="removeNode(const BString&)">
				<h3>bool removeNode(const BString&amp; name);</h3>
			</div>
			<div id="nodeCount()">
				<h3>int nodeCount() const;</h3>
			</div>
			<div id="node(int)">
				<h3>BSonNode* node(int index);</h3>
			</div>
			<div id="node(int)">
				<h3>const BSonNode* node(int index) const;</h3>
			</div>
			<div id="node(const char*)">
				<h3>BSonNode* node(const char* name);</h3>
			</div>
			<div id="node(const char*)">
				<h3>const BSonNode* node(const char* name) const;</h3>
			</div>
			<div id="node(const BString&)">
				<h3>BSonNode* node(const BString&amp; name);</h3>
			</div>
			<div id="node(const BString&)">
				<h3>const BSonNode* node(const BString&amp; name) const;</h3>
			</div>
			<div id="create(const BString&)">
				<h3>BSonNode* create(const BString&amp; path);</h3>
			</div>
			<div id="locate(const BString&)">
				<h3>BSonNode* locate(const BString&amp; path);</h3>
			</div>
			<div id="locate(const BString&)">
				<h3>const BSonNode* locate(const BString&amp; path) const;</h3>
			</div>
		</div>
	</body>
</html>